Efficient sampling of random permutations
نویسنده
چکیده
We show how to uniformly distribute data at random (not to be confounded with permutation routing) in two settings that are able to deal with massive data: coarse grained parallelism and external memory. In contrast to previously known work for parallel setups, our method is able to fulfill the three criteria of uniformity, work-optimality and balance among the processors simultaneously. To guarantee the uniformity we investigate the matrix of communication requests between the processors. We show that its distribution is a generalization of the multivariate hypergeometric distribution and we give algorithms to sample it efficiently in the two settings.
منابع مشابه
Generating random alternating permutations in time n log n
We introduce an algorithm generating uniformly distributed random alternating permutations of length n in time n log n. 1 The main result An alternating permutation σ of {1, 2, . . . N} is a permutation such that σ(1) > σ(2) < σ(3) > σ(4) . . . Alternating permutations are a very classical topic in combinatorics. See for instance the surveys [KPP, ST] for numerous references and the link with i...
متن کاملAsymptotic behavior of some statistics in Ewens random permutations
The purpose of this article is to present a general method to find limiting laws for some renormalized statistics on random permutations. The model considered here is Ewens sampling model, which generalizes uniform random permutations. We describe the asymptotic behavior of a large family of statistics, including the number of occurrences of any given dashed pattern. Our approach is based on th...
متن کاملProbabilistic number theory and random permutations: Functional limit theory
The ideas from Probabilistic Number Theory are useful in the study of measures on partitions of integers. Connection between the Ewens sampling formula in population genetics and the partitions of an integer generated by random permutations will be discussed. Functional limit theory for partial sum processes induced by Ewens sampling formula is reviewed. The results on limit processes with depe...
متن کاملPermutation graphs, fast forward permutations, and sampling the cycle structure of a permutation
P ∈ SN is a fast forward permutation if for each m the computational complexity of evaluating Pm(x) is small independently of m and x. Naor and Reingold constructed fast forward pseudorandom cycluses and involutions. By studying the evolution of permutation graphs, we prove that the number of queries needed to distinguish a random cyclus from a random permutation in SN is (N) if one does not us...
متن کاملA bijection for plane graphs and its applications
This paper is concerned with the counting and random sampling of plane graphs (simple planar graphs embedded in the plane). Our main result is a bijection between the class of plane graphs with triangular outer face, and a class of oriented binary trees. The number of edges and vertices of the plane graph can be tracked through the bijection. Consequently, we obtain counting formulas and an eff...
متن کاملA new generation tree for permutations, preserving the number of fixed points
We describe a new uniform generation tree for permutations with the specific property that, for most permutations, all of their descendants in the generation tree have the same number of fixed points. Our tree is optimal for the number of permutations having this property. We then use this tree to describe a new random generation algorithm for derangements, using an expected n+O(1) calls to a r...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- J. Discrete Algorithms
دوره 6 شماره
صفحات -
تاریخ انتشار 2008